package com.service;

import com.pojo.Course;

import java.util.List;

/**
 * @author
 * @description course
 * @date 2022-12-19
 */
public interface CourseService {

    /**
     * 新增
     */
    public Object insert(Course course);

    /**
     * 删除
     */
    public Object delete(int id);

    /**
     * 更新
     */
    public Object update(Course course);

    public Object queryByCourseName(String courseName);

    /**
     * 分页查询
     */
    public List pageList(int pageNum, int pageSize);
}